@import '~antd/es/style/themes/default.less';

.login_box_init {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  padding: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

.login_container {
  display: flex;
  width: 900px;
  height: 550px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.left-panel {
  flex: 1;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: white;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.left-panel::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  top: -50px;
  left: -50px;
}

.left-panel::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  bottom: -50px;
  right: -50px;
}

.welcome-text h1 {
  font-size: 32px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.welcome-text p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.right-panel {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-form h2 {
  color: #333;
  margin-bottom: 30px;
  font-size: 28px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus {
  border-color: #6e8efb;
  box-shadow: 0 0 0 2px rgba(110, 142, 251, 0.2);
  outline: none;
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
}

.remember-forgot label {
  display: flex;
  align-items: center;
  color: #555;
}

.remember-forgot input {
  margin-right: 8px;
}

.remember-forgot a {
  color: #6e8efb;
  text-decoration: none;
  transition: color 0.3s;
}

.remember-forgot a:hover {
  color: #a777e3;
  text-decoration: underline;
}

.login-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(110, 142, 251, 0.4);
}

.signup-link {
  text-align: center;
  font-size: 14px;
  color: #666;
}

.signup-link a {
  color: #6e8efb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.signup-link a:hover {
  color: #a777e3;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    width: 100%;
    height: auto;
  }

  .left-panel {
    padding: 30px;
  }

  .right-panel {
    padding: 30px;
  }
}